package com.mingdao.lhy.mapper.wish;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.mingdao.lhy.pojo.Photo;

@Mapper
@Repository(value = "photoMapper")
public interface PhotoMapper {

	List<Photo> list();

	Photo getOne(String sfzh);

	int deleteByPrimaryKey(String id);

	int insert(Photo record);

	int insertSelective(Photo record);

	Photo selectByPrimaryKey(String sfzh);

	int updateByPrimaryKeySelective(Photo record);

	int updateByPrimaryKey(Photo record);
	
	int updatePasswordByPrimaryKey(Photo record);

}